#ifndef PLAYER_AREA_H
#define PLAYER_AREA_H

#include <qwidget.h>

class PlayerCharacter;

class PlayerArea : public QWidget
{
public:
	PlayerArea(PlayerCharacter *iPlayer, QWidget *parent = 0);
	virtual ~PlayerArea();

	inline void setPlayer(PlayerCharacter *iNewChar) { mPlayer = iNewChar; };

protected:
	void paintEvent(QPaintEvent * event) override;
private:
	PlayerCharacter * mPlayer;
	QImage * mBackground;
	QImage * greenCone;
	QImage * redCone;
	QImage * blueCone;
	QImage * goldCoin;
	QImage * fateToken;
};
#endif